package com.zhuliwei.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.zhuliwei.domain.ResponseResult;
import com.zhuliwei.domain.dto.*;
import com.zhuliwei.domain.entity.User;
import com.zhuliwei.domain.vo.PageVo;

import java.util.List;


/**
 * 用户表(User)表服务接口
 *
 * @author 朱力维
 * @since 2022-10-14 15:15:51
 */
public interface UserService extends IService<User> {

    ResponseResult userInfo();

    ResponseResult updateUserInfo(User user);

    ResponseResult register(User user);

    ResponseResult<PageVo> userPageList(Integer pageNum, Integer pageSize, UserDto userDto);

    ResponseResult add(UserAddDto userAddDto);

    ResponseResult delete(List<String> ids);

    ResponseResult detail(String id);

    ResponseResult forgetPassword(UserForgetDto userDto);

    ResponseResult updateUser(UserUpdateDto userDto);

    ResponseResult updatePassword(UpdatePasswordDto userDto);

    User findByOpenId(String openId);
}

